<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
			  <c:forEach var="item" items="${data }" varStatus="status">
			  	<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3 ${item.cateEn }" style="margin-bottom:15px">
                    <div class="box"> 
                        <div class="img-border">
                        	<a href="${pageContext.request.contextPath}/detail/${item.id}"><img src="${item.taokePicUrl }" class="img-responsive"></a>
                        </div>
                        <div>
                        	<div class="cut-text" style="font-size:12px;margin-top:3px">${item.title }</div>
                        	<div>
								<span class="pull-left"> 
								    <span style="font-size: 12px">券后</span>
									<span style="color: red">￥</span> 
									<span style="color: red; font-weight: bold">${item.finalPrice }</span>
								</span>
							</div>
							<div>
								<span class="pull-right">
	                        		<span style="font-size:12px">销量：${item.sales }</span>
	                        	</span>
							</div>
                        </div>
                        <div class="row">
                        	<div class="col-xs-6"><button type="button" class="btn btn-default btn-sm" style="padding:5px 10px" onclick="changeItem('${item.id}','${item.cate}',this)">换一个</button></div>
                        </div>
                    </div>
                </div><!-- end Works #1 col 3 -->
			  </c:forEach>
             
          